//
//  MYDynamicDetailsUserInfoCell.swift
//  MuYing
//
//  Created by tbb on 2019/7/24.
//  Copyright © 2019 TBB. All rights reserved.
//

import UIKit

class MYDynamicDetailsUserInfoCell: MYBaseUserInfoCell {

    override func layoutSubviews() {
        super.layoutSubviews();
        self.rightBtn.mas_makeConstraints { (make) in
            make?.right.mas_equalTo()(-12);
            make?.centerY.mas_equalTo()(0);
            make?.size.mas_equalTo()(CGSize(width: 64, height: 24));
        }
        
        self.rightBtn .setTitle(kYQLSSwift("+关注"), for: .normal);
        self.rightBtn .setTitle(kYQLSSwift("已关注"), for: .selected);

        self.rightBtn.layer.borderColor = appThemeColor.cgColor;
        self.rightBtn.layer.borderWidth = 1;
        
        self.rightBtn.layer.cornerRadius = 12;
        self.rightBtn.clipsToBounds = true;
        
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
